home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / cf / xfree86.cf < prev   
Text File  |  1995-07-12  |  7KB  |  365 lines

  1. XCOMM $XConsortium: xfree86.cf,v 1.9 95/01/25 16:42:40 kaleb Exp $
  2. /*
  3.  * This configuration file contains all of the configuration
  4.  * information for the XFree86 based X Servers.
  5.  *
  6.  * Most of these settings can be overridden in a vendor.cf or the
  7.  * BeforeVendor part of the site.def file.
  8.  */
  9.  
  10. /*
  11.  * Default settings for which X Servers to build.
  12.  */
  13. #ifndef XF86SVGAServer
  14. # define XF86SVGAServer        YES
  15. #endif
  16.  
  17. #ifndef XF86VGA16Server
  18. # define XF86VGA16Server    NO
  19. # ifndef XF86VGA16DualServer
  20. #  define XF86VGA16DualServer    NO
  21. # endif
  22. #endif
  23.  
  24. #ifndef XF86MonoServer
  25. # define XF86MonoServer        NO
  26. # ifndef XF86MonoDualServer
  27. #  define XF86MonoDualServer    NO
  28. # endif
  29. #endif
  30.  
  31. #ifndef XF86S3Server
  32. # define XF86S3Server        NO
  33. #endif
  34.  
  35. #ifndef XF86I8514Server
  36. # define XF86I8514Server    NO
  37. #endif
  38.  
  39. #ifndef XF86Mach8Server
  40. # define XF86Mach8Server    NO
  41. #endif
  42.  
  43. #ifndef XF86Mach32Server
  44. # define XF86Mach32Server    NO
  45. #endif
  46.  
  47. #ifndef XF86Mach64Server
  48. # define XF86Mach64Server    NO
  49. #endif
  50.  
  51. #ifndef XF86AGXServer
  52. # define XF86AGXServer        NO
  53. #endif
  54.  
  55. #ifndef XF86P9000Server
  56. # define XF86P9000Server    NO
  57. #endif
  58.  
  59. #ifndef XF86W32Server
  60. # define XF86W32Server        NO
  61. #endif
  62.  
  63. #if XF86S3Server
  64. # define XF86S3Dir        s3
  65. #else
  66. # define XF86S3Dir        /**/
  67. #endif
  68.  
  69. #if XF86I8514Server
  70. # define XF86I8514Dir        ibm8514
  71. #else
  72. # define XF86I8514Dir        /**/
  73. #endif
  74.  
  75. #if XF86Mach8Server
  76. # define XF86Mach8Dir        mach8
  77. #else
  78. # define XF86Mach8Dir        /**/
  79. #endif
  80.  
  81. #if XF86Mach32Server
  82. # define XF86Mach32Dir        mach32
  83. #else
  84. # define XF86Mach32Dir        /**/
  85. #endif
  86.  
  87. #if XF86Mach64Server
  88. # define XF86Mach64Dir        mach64
  89. #else
  90. # define XF86Mach64Dir        /**/
  91. #endif
  92.  
  93. #if XF86P9000Server
  94. # define XF86P9000Dir        p9000
  95. #else
  96. # define XF86P9000Dir        /**/
  97. #endif
  98.  
  99. #if XF86AGXServer
  100. # define XF86AGXDir        agx
  101. #else
  102. # define XF86AGXDir        /**/
  103. #endif
  104.  
  105. #if XF86W32Server
  106. # define XF86W32Dir        et4000w32
  107. #else
  108. # define XF86W32Dir        /**/
  109. #endif
  110.  
  111. #undef XF86AccelServerDirs
  112. #define XF86AccelServerDirs   XF86S3Dir XF86I8514Dir XF86Mach8Dir XF86Mach32Dir XF86Mach64Dir XF86P9000Dir XF86AGXDir XF86W32Dir
  113.  
  114. #undef XF86AccelServer
  115. #if XF86S3Server || XF86I8514Server || XF86Mach8Server || XF86Mach32Server || XF86Mach64Server || XF86P9000Server || XF86AGXServer || XF86W32Server
  116. # define XF86AccelServer    YES
  117. #else
  118. # define XF86AccelServer    NO
  119. #endif
  120.  
  121. /*
  122.  * Driver list for several of the X Servers.
  123.  */
  124. #ifndef XF86SvgaDrivers
  125. # define XF86SvgaDrivers    et4000 et3000 pvga1 gvga ati tvga8900 cirrus \
  126.                 ncr77c22 compaq oak mx al2101 ali cl64xx \
  127.                 video7 chips generic
  128. #endif
  129.  
  130. #ifndef XF86Vga16Drivers
  131. # define XF86Vga16Drivers    et4000 ncr77c22 ati tvga8900 oak cl64xx generic
  132. #endif
  133.  
  134. #ifndef XF86Vga2Drivers
  135. # define XF86Vga2Drivers    et4000 et3000 pvga1 gvga ati tvga8900 cirrus \
  136.                 ncr77c22 compaq oak cl64xx generic
  137. #endif
  138.  
  139. #ifndef XF86Vga2Banked
  140. # define XF86Vga2Banked        YES
  141. #endif
  142.  
  143. #ifndef XF86MonoDrivers
  144. # define XF86MonoDrivers    hgc1280 sigma apollo hercules
  145. #endif
  146.  
  147. /* This doesn't do anything (yet) */
  148. #ifndef XF86S3Drivers
  149. # define XF86S3Drivers        mmio_928 s3_generic
  150. #endif
  151.  
  152. #ifndef XF86W32Drivers
  153. # define XF86W32Drivers        et4000w32
  154. #endif
  155.  
  156. #ifndef BuildPexExt
  157. #define BuildPexExt        XF86AccelServer || XF86SVGAServer
  158. #endif
  159.  
  160. #ifndef BuildXIE
  161. #define BuildXIE        XF86AccelServer || XF86SVGAServer
  162. #endif
  163.  
  164. /*
  165.  * By default, build all of the fonts.
  166.  */
  167. #ifndef Build75Dpi
  168. #define Build75Dpi    YES
  169. #endif
  170. #ifndef Build100Dpi
  171. #define Build100Dpi    YES
  172. #endif
  173. #ifndef BuildSpeedo
  174. #define BuildSpeedo    YES
  175. #endif
  176. #ifndef BuildType1
  177. #define BuildType1    YES
  178. #endif
  179.  
  180. #ifndef CompressAllFonts
  181. #define CompressAllFonts    YES
  182. #endif
  183.  
  184. #ifndef InstallXcmsTxt
  185. #define InstallXcmsTxt        YES
  186. #endif
  187.  
  188. #ifndef HasLinuxDoc
  189. #define HasLinuxDoc        NO
  190. #endif
  191.  
  192. #ifndef InstallJapaneseDocs
  193. #define InstallJapaneseDocs    NO
  194. #endif
  195.  
  196. /* Server defines required for all OSs */
  197. #ifndef XFree86ServerDefines
  198. #define XFree86ServerDefines    -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV LinkKitDefines
  199. #endif
  200.  
  201. #ifndef XFree86ServerOSDefines
  202. #define XFree86ServerOSDefines    -DDDXOSINIT -DSERVER_LOCK
  203. #endif
  204.  
  205. #ifndef XFree86ConsoleDefines
  206. #ifdef i386BsdArchitecture
  207. #define XFree86ConsoleDefines    -DPCCONS_SUPPORT -DSYSCONS_SUPPORT -DPCVT_SUPPORT
  208. #else
  209. #define XFree86ConsoleDefines    /**/
  210. #endif
  211. #endif
  212.  
  213. #ifndef UseServerLock
  214. #define UseServerLock    YES
  215. #endif
  216.  
  217. #ifndef XF86LinkKit
  218. #define XF86LinkKit    NO
  219. #endif
  220.  
  221. #ifndef LinkKitDefines
  222. #if XF86LinkKit
  223. #define LinkKitDefines    -DLINKKIT
  224. #else
  225. #define LinkKitDefines    /**/
  226. #endif
  227. #endif
  228.  
  229. #ifndef ServerExtraDefines
  230. #define ServerExtraDefines    XFree86ServerDefines
  231. #endif
  232.  
  233. #ifndef ServerOSDefines
  234. #define ServerOSDefines        XFree86ServerOSDefines
  235. #endif
  236.  
  237. #ifndef LinkKitDir
  238. #define LinkKitDir    $(USRLIBDIR)/Server
  239. #endif
  240.  
  241. LINKKITDIR = LinkKitDir
  242.  
  243. /*
  244.  * Some commonly refered to directories are defined here.
  245.  */
  246.  
  247. #if XF86LinkKit
  248.        XF86SRC = $(TOP)
  249.   XF86ACCELSRC = $(XF86SRC)/lib
  250.     XF86COMSRC = $(XF86SRC)/lib
  251.  XF86CONFIGSRC = $(XF86SRC)
  252.      XF86HWSRC = $(XF86SRC)/lib
  253.      XF86OSSRC = $(XF86SRC)/lib
  254.      DRIVERSRC = $(XF86SRC)/drivers
  255.   VGADRIVERSRC = $(XF86SRC)/drivers/vga256
  256. VGA16DRIVERSRC = $(XF86SRC)/drivers/vga16
  257.  VGA2DRIVERSRC = $(XF86SRC)/drivers/vga2
  258.  MONODRIVERSRC = $(XF86SRC)/drivers/mono
  259.    S3DRIVERSRC = $(XF86SRC)/drivers/s3
  260.  
  261. #ifdef SiteIConfigFiles
  262. #undef SiteIConfigFiles
  263. #endif
  264. #define SiteIConfigFiles $(TOP)/site.def $(TOP)/Imakefile
  265. #else
  266.        XF86SRC = $(SERVERSRC)/hw/xfree86
  267.   XF86ACCELSRC = $(XF86SRC)/accel
  268.     XF86COMSRC = $(XF86SRC)/common
  269.  XF86CONFIGSRC = $(XF86COMSRC)
  270.      XF86HWSRC = $(XF86SRC)/common_hw
  271.      XF86OSSRC = $(XF86SRC)/os-support
  272.   VGADRIVERSRC = $(XF86SRC)/vga256/drivers
  273. VGA16DRIVERSRC = $(XF86SRC)/vga16/drivers
  274.  VGA2DRIVERSRC = $(XF86SRC)/vga2/drivers
  275.  MONODRIVERSRC = $(XF86SRC)/mono/drivers
  276.    S3DRIVERSRC = $(XF86SRC)/accel/s3/drivers
  277. #endif
  278.  
  279. /*
  280.  * These libraries are needed by all X Servers
  281.  */
  282.  
  283. XF86INIT   = $(XF86COMSRC)/xf86Init.o
  284. XF86MINIT  = $(XF86COMSRC)/xf86Init_m.o
  285. XF86CONFIG = $(XF86CONFIGSRC)/xf86_Option.o
  286. XF86COMLIB = $(XF86COMSRC)/libxf86.a
  287. XF86OSLIB  = $(XF86OSSRC)/libxf86_os.a
  288. XF86HWLIB  = $(XF86HWSRC)/libxf86_hw.a
  289. XF86LIBS   = $(XF86INIT) $(XF86CONFIG) $(XF86COMLIB) $(XF86HWLIB) $(XF86OSLIB)
  290. XF86MLIBS  = $(XF86MINIT) $(XF86CONFIG) $(XF86COMLIB) $(XF86HWLIB) $(XF86OSLIB)
  291.  
  292.         XFREE86DOCDIR = $(LIBDIR)/doc
  293.       XFREE86PSDOCDIR = $(XFREE86DOCDIR)/PostScript
  294.     XFREE86HTMLDOCDIR = $(XFREE86DOCDIR)/html
  295. XFREE86JAPANESEDOCDIR = $(XFREE86DOCDIR)/Japanese
  296.  
  297. /*
  298.  * Other stuff used in the X Server source.
  299.  */
  300.  
  301. #ifndef AsmDefines
  302. #define AsmDefines /**/
  303. #endif
  304.  
  305. #ifndef XFree86Version
  306. #define XFree86Version    3110
  307. #endif
  308.  
  309. #ifndef XVendorString
  310. #define XVendorString    "The XFree86 Project, Inc"
  311. #endif
  312.  
  313. #ifndef XVendorRelease
  314. #define XVendorRelease    XFree86Version
  315. #endif
  316.  
  317. #ifndef UseRgbTxt
  318. #define UseRgbTxt    YES
  319. #endif
  320.  
  321.  
  322. /*
  323.  * GNU Compiler stuff
  324.  */
  325. #ifndef HasGcc2
  326. #define HasGcc2 NO
  327. #endif
  328. #ifndef HasGcc
  329. #define HasGcc HasGcc2
  330. #endif
  331. #ifndef HasGcc2ForCplusplus
  332. #define HasGcc2ForCplusplus HasGcc2
  333. #endif
  334. #if HasGcc2ForCplusplus
  335. #ifndef HasCplusplusMinusCMinusO
  336. #define HasCplusplusMinusCMinusO YES
  337. #endif
  338. #endif
  339.  
  340. #if HasGcc
  341. #ifndef DefaultCCOptions
  342. #if defined(SunArchitecture) && defined(i386Architecture)
  343. #define DefaultCCOptions -DNO_ASM
  344. #else
  345. #define DefaultCCOptions -ansi  -DNO_ASM
  346. #endif
  347. #endif
  348. #endif
  349.  
  350. #ifndef BuildLBXCompatible
  351. #define BuildLBXCompatible NO
  352. #endif
  353.  
  354. #ifndef BuildLBX
  355. #define BuildLBX NO
  356. #endif
  357.  
  358. #if BuildLBXCompatible
  359. #if !BuildLBX
  360. #define LbxDefines -DLBX_COMPAT
  361. #endif
  362. #endif
  363.  
  364. #include <xf86.rules>
  365.